< previous page page_761 next page >

Page 761
Generally, to back up a database, the data files must be closed to all users. This is sometimes not practical, however, or even possible. Database replication can be used in this situation to make a replica of the original database, without having to close any files or hinder user access to the data contained in the database.
You might also want to use database replication to create a static database for reporting. In many applications, such as financial applications, data changes constantly. Mass confusion reigns if users create reports that differ each time they are generated. By using replication, you can create an unchanging copy of the data to a separate database that users can then use for reporting and analysis.
When Is Database Replication Not a Good Idea?
Though database replication can be an invaluable tool, there are scenarios where it should not be deployed. For example, you may not want to deploy replication when you are delivering data in an intranet environment. Before deploying a typical Visual Basic 5 database application in a large organization (for example, an application with a front-end located on a user workstation and the data on a separate server), you may want to test the performance of a database application that uses a Web browser as the front end. This can greatly reduce the maintenance required for the application and the deployment time to individuals.
You do not want to use replication in applications that are heavily transaction-oriented. For example, an airline would not want to use replication for a reservation system. It makes little sense for users to work with a copy of a database that is unreliable, and therefore unusable, the second after the data is replicated. (Many cynical travelers believe, however, that airlines do use two reservation systemsone for passengers and one for baggage.)
You also do not want to use replication in a system where data accuracy is extremely important, such as emergency response systems. In databases used by law enforcement or fire departments, for example, you might not be able to replicate data fast enough to be of value to the user. If, for example, a bank is robbed in Columbus, Ohio, and the criminal is fleeing towards Cincinnati, you may not have the time to perform the replication so that the police force in Cincinnati has a description of the criminals. Additionally, the mode of data transfer used in the synchronization may not be operating due to circumstances beyond your control.
Making a Database Replicable
The focus of this exercise is to turn an existing database into a Design Master. We use the REPLMAST.MDB database that shipped on the CD that came with this text as our original

 
< previous page page_761 next page >

If you like this book, buy it!